import Mock from "mockjs";

// DataValue  数聚宝--任务管理
import dataInfo from "./Datavalue/dataInfo.json";
import dataColumns from "./Datavalue/dataColumns.json";
import dataTab from './Datavalue/dataTab.json'

// DataValue  数聚宝--数据填报
import treeData from "./DataFlling/treeData.json";
import datafillingChildren from "./DataFlling/datafillingChildren.json";
import datafColumns from './DataFlling/datafColumns.json'

// ExternalData   数聚宝--数据审核与校验  外部数据
import externalDataRightTable from "./ExternalDataRightTable/externalDataRightTable.json";

// InternalData   数聚宝--数据审核与校验  内部数据
import InternalDataRightTable from "./InternalDataRightTable/internalDataRightTable.json";
import internalDataRightColumns from "./InternalDataRightTable/internalDataRightColumns.json";

// InternalData   数聚宝--数据审核与校验  数据修订
import InternalDataevision from "./InternalDataRightTable/internalDataevision.json";

// TemplateManagement  数聚宝--模板管理
import TemplateManagementColumns from "./TemplateManagement/TemplateManagementColumns.json";
import TemplateManagementTabdata from "./TemplateManagement/TemplateManagementTabdata.json";
import TableTemplateIndex from "./TemplateManagement/TableTemplateIndex.json";
import TableTemplateFirm from "./TemplateManagement/TableTemplateFirm.json";
import TebleTemplateTree from "./TemplateManagement/TebleTemplateTree.json";
import TableTemplateAdd from "./TemplateManagement/TableTemplateAdd.json";

// Pivot  数聚宝-数据透视
import BarChat from "./Pivot/barChat.json";

// DataValue  数聚宝--任务管理
Mock.mock("/mock/dataInfo", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: dataInfo,
});

Mock.mock("/mock/dataTab", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: dataTab,
});

Mock.mock("/mock/dataColumns", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: dataColumns,
});

// DataValue  数聚宝--数据填报
Mock.mock("/mock/treeData", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: treeData,
});

Mock.mock("/mock/datafillingChildren", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: datafillingChildren,
});

Mock.mock("/mock/datafColumns", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: datafColumns,
});

// ExternalData   数聚宝--数据审核与校验  外部数据
Mock.mock("/mock/externalDataRightTable", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: externalDataRightTable,
});

// InternalData   数聚宝--数据审核与校验  内部数据
Mock.mock("/mock/InternalDataRightTable", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: InternalDataRightTable,
});

Mock.mock("/mock/internalDataRightColumns", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: internalDataRightColumns,
});

Mock.mock("/mock/InternalDataevision", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: InternalDataevision,
});

// TemplateManagement  数聚宝--模板管理
Mock.mock("/mock/templateManagementColumns", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: TemplateManagementColumns,
});

Mock.mock("/mock/templateManagementTabdata", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: TemplateManagementTabdata,
});

Mock.mock("/mock/tableTemplateIndex", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: TableTemplateIndex,
});

Mock.mock("/mock/tableTemplateFirm", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: TableTemplateFirm,
});

Mock.mock("/mock/tebleTemplateTree", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: TebleTemplateTree,
});

Mock.mock("/mock/tableTemplateAdd", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: TableTemplateAdd,
});

// Pivot  数聚宝-数据透视
Mock.mock("/mock/barChat", "get", {
  code: 200,
  message: "获取数据失败",
  ok: true,
  data: BarChat,
});
